using System;
using System.Collections.Generic;
using FikriKibar.Entities.Abstract;


namespace FikriKibar.Entities.Concrete
{
    
    public class MenuItem : IEntity{
        public int Id { get; set; }
        public int MenuId { get; set; }
        public string ActionName { get; set; }
        public string ControllerName { get; set; }
        public string MenuUrl { get; set; }
        public DateTime CreateDate { get; set; }
        public int CreatedBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int UpdatedBy { get; set; }
        public int DisplayOrder { get; set; }
        public bool IsApproved { get; set; }
        public bool IsPublished { get; set; }

        public virtual ICollection<MenuItemLanguageLine> MenuItemLanguageLines { get; set; }

        public virtual Menu Menu { get; set; }
        public virtual User User_CreatedBy { get; set; }
        public virtual User User_UpdatedBy { get; set; }
        
        public MenuItem()
        {
            MenuItemLanguageLines = new List<MenuItemLanguageLine>();
        }
    }

}
